<?php
/*
 * @project CreativeFramework
 * @version <#RELEASE_VERSION#>
 * @license GNU Lesser General Public License
 * @author Jimmie Lin
 */
interface DB_Driver{
	function connect();
	function query($query);
	function close();
	function drop_table($table);
	function fetch_array($query);
	function escape_string($string);
	function insert_query($table, $data);
	function update_query($table, $identifier, $data);
	function delete_query($table, $identifier);
	function num_fields($query);
	function num_rows($query);
	function table_exists($table);
	function simple_select($table, $fields = "*", $conditions = "", $options = array());
}
